
//
//  MessageHeaderCell.m
//  LuxuryGoods
//
//  Created by DCQ on 2018/5/25.
//  Copyright © 2018年 Future. All rights reserved.
//

#import "MessageHeaderCell.h"
@interface MessageHeaderCell ()
@property (weak, nonatomic) IBOutlet UIButton *kefuBtn;

@end
@implementation MessageHeaderCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (IBAction)gotoKefu:(id)sender {
    
    if (self.btnBlock) {
        self.btnBlock(MessageHeaderTouchType_message);
    }
}
- (IBAction)callPhoneAction:(id)sender {
    if (self.btnBlock) {
        self.btnBlock(MessageHeaderTouchType_phone);
    }
}

@end
